package annotation;

import lombok.Data;
import lombok.extern.slf4j.Slf4j;

import java.lang.annotation.*;

/**
 * @Description:供应商地址
 * @author: me@longlonggo.com
 * @Date: 2018/12/11
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface FruitProvider {

    /**
     * 供应商ID
     */
    public int id() default -1;

    /**
     * 供应商名称
     */
    public  String name() default "";

    /**
     * 供应商地址
     */
    public String address() default "";
}
